
package com.ks.core.framework.cpsupload.demos.web;

import org.springframework.stereotype.Controller;
import org.springframework.web.bind.annotation.PostMapping;

import java.io.IOException;

/**
 */
@Controller
public class BasicController {


    @PostMapping("/serverStatus")
    public String statusServer() throws IOException {
            //RuntimeUtil.execForStr("fuser -k -n tcp " + port);
        return "START SUCCESS";
    }

}
